<script>
    //let不能多次定义相同变量
    var a = 1
    var a = 2

    let m = 10
    let m = 20 //SyntaxError: redeclaration of let m

    console.log(a)
    console.log(m)
</script>